import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);
export default new Vuex.Store({
    state: {
		isLogin:uni.getStorageSync("loginToken") == '' ? false : true,
		userState:{},
		scene:''
	 },
    mutations: {
		setUserState(state,b){
			state.userState = b
		},
		setScene (state,b) {
			state.scene = b
		},
		setLogin(state,b) {
			state.isLogin = b;
		}
    },
    actions:{
		
    }
})